public NPromise<bool> SaveAsAsync( TDocFormat defaultFormat, TDocFormatRegistry docFormatRegistry, System.bool reportErrors )
Parameters
- defaultFormat
- the default selected format - if null the first available is chosen
- docFormatRegistry
- the format registry to use for available formats - if null - the view DocumentFormatRegistry is used.
- reportErrors
- whether errors should be reported to the user
Return Value
a promise which resolves to true, if document was successfully saved, otherwise false